package com.yvon.service.demo.mybatis.reflection.wrapper;

import com.yvon.service.demo.mybatis.reflection.MetaObject;

/**
 * @author yvon
 * @since 2023-05-30
 */
public interface ObjectWrapperFactory {
    /**
     * 判断有没有包装器
     */
    boolean hasWrapperFor(Object object);

    /**
     * 得到包装器
     */
    ObjectWrapper getWrapperFor(MetaObject metaObject, Object object);
}
